package com.grao.waterschool.human.manager.service;

import cn.dev33.satoken.util.SaResult;
import com.grao.waterschool.human.entiry.dto.LoginInfo;
import com.grao.waterschool.human.entiry.dto.UserLogin;
import com.grao.waterschool.human.entiry.vo.ResetPassword;

public interface LoginService {

    SaResult login(UserLogin userLogin) throws Exception;

    SaResult loginForOAuth2(LoginInfo info) throws Exception;

    SaResult getUserInfo();

    SaResult logout();

    SaResult resetPassword(ResetPassword resetPassword);

    SaResult disableUserByTeacherId(String teacherNum);
}
